package com.f.plusonedemo;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {

	private Button button;
	private PlusOneAnim poa;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);


		
		button = (Button) findViewById(R.id.button);
		
		poa = new PlusOneAnim(this, button);
		poa.setPlusShowStatus(true);
		poa.init();
		
		
		button.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {

				poa.show();
			}
		});
	}
}
